cups: make string non-literals translatable again
authorFelipe Borges <felipeborges@gnome.org>
Wed, 13 Apr 2016 18:00:19 +0000 (20:00 +0200)
committerFelipe Borges <felipeborges@gnome.org>
Thu, 14 Apr 2016 16:55:21 +0000 (18:55 +0200)
Notice that C_ just takes string literals as arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=764585

modules/printbackends/cups/gtkprintbackendcups.c

index 9a4b733201e75847a190afdb5a2ebd9496f922d2..661037b227516e0dcbcec7d744f397abbdc06211 100644 (file)
@@ -4442,7 +4442,7 @@ get_ipp_choice_translation_string (gint  index,
             g_assert_not_reached ();
         }
 
-        translation = NC_("output-bin", string);
+        translation = g_dpgettext2 (GETTEXT_PACKAGE, "output-bin", string);
     }
 
   return translation;